package com.ruoyi.recycle.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Accessors(chain = true)
@TableName("price_setting")
@ApiModel("订单价格规则设置")
public class PriceSetting implements Serializable {
    private static final long serialVersionUID = -2216306630733529315L;
    @ApiModelProperty(name = "id", dataType = "Long")
    private Long id;
    @ApiModelProperty(name = "category", value = "服务类型,家政服务,回收服务")
    private String category;
    @ApiModelProperty(name = "unit", value = "单位")
    private String unit;
    @ApiModelProperty(name = "merchantId", value = "综合站ID")
    private Long merchantId;
    @ApiModelProperty(name = "name", value = "名称")
    private String name;
    @ApiModelProperty(name = "price", value = "单价")
    private BigDecimal price;
    @ApiModelProperty(value = "蓝星币")
    private Long blueStarCoin;
    @ApiModelProperty(name = "houseKeepingCategory", value = "家政服务分类")
    private String houseKeepingCategory;
    @ApiModelProperty(value = "编号")
    @TableField(exist = false)
    private Integer serialNumber;
}
